wsd\bw\core\booking\Booking D

Total Complexity 165
Dependencies 9
Dependents 4
Total lines 903
Lines of code 616
Logical lines of code 329
Comment lines 195
Methods 27
Properties 10

Methods 27

Method Rating Maintainability Complexity Lines of code
validate_booking()
D
32 37 92
sanitize_booking()
B
40 23 55
run()
A
46 15 38
validate_fields()
A
46 11 41
parse_booking()
A
42 6 60
display_status()
A
44 6 53
validate_price()
S
50 7 28
create_booking()
S
46 6 39
validate_extras()
S
55 7 18
handle_confirmation()
S
51 6 26
find_booking()
S
51 5 26
add_booking_errors()
S
57 5 16
get_default_fields_values()
S
62 5 12
get_admin_info()
S
49 3 34
include_selected_booking()
S
63 4 11
maybe_redirect()
S
64 3 11
noindex()
S
73 2 5
is_booking_submitted()
S
78 2 3
get_submitted_booking()
S
70 2 6
is_booking_selected()
S
78 2 3
get_selected_booking()
S
70 2 6
__construct()
S
67 1 8
register()
S
72 1 5
handle_payment()
S
80 1 3
get_event()
S
82 1 3
get_admin_link()
S
69 1 7
get_admin_button()
S
69 1 7